package com.dingup.paike.bean.requestBean.pk;

import com.dingup.paike.model.pk.PkLessonInfo;

import java.util.Date;

/**
 * Created by wancheng on 2018/9/26.
 */
public class PkLessonInfoRequestBean {

    private Integer id;

    private String lessonName = "";

    private String subjectName = "";

    private String className = "";

    private String teacherId = "";

    private Long beginTime;

    private Long endTime;

    private Boolean ifTranscribe = false;

    private Boolean ifPlayback = false;

    private Boolean ifLive = false;

    private Boolean ifSyncEeo = false;

    private Integer classId;

    private Boolean ifClassFee = false;
    //上台人数
    private Integer seatNum = 0;
    //学生
    private String[] studentIds;
    //旁听
    private String[] observerIds;

    private String classRoom = "";

    private Boolean ifPreLesson = false;

    private String operaUserId = "";

    private Boolean ifOnlineLesson = false;
    //是否强制排课
    private Boolean ifArrangeLessonForce;

    public PkLessonInfo getPkLessonInfo() {
        PkLessonInfo pk = new PkLessonInfo();
        pk.setId(this.id);
        pk.setLessonName(this.lessonName);
        pk.setSubjectName(this.subjectName);
        pk.setTeacherId(this.teacherId);
        if (this.beginTime != null) {
            pk.setBeginTime(new Date(this.beginTime));
        }
        if (this.endTime != null) {
            pk.setEndTime(new Date(this.endTime));
        }
        pk.setIfTranscribe(this.ifTranscribe);
        pk.setIfPlayback(this.ifPlayback);
        pk.setIfLive(this.ifLive);
        pk.setIfSyncEeo(this.ifSyncEeo);
        pk.setClassId(this.classId);
        pk.setIfClassFee(this.ifClassFee);
        pk.setSeatNum(this.seatNum);
        pk.setIfPreLesson(this.ifPreLesson);
        pk.setClassRoom(this.classRoom);
        pk.setIfOnlineLesson(this.ifOnlineLesson);
        pk.setIfLessonFinish(false);
        return pk;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public Long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Long beginTime) {
        this.beginTime = beginTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Boolean getIfTranscribe() {
        return ifTranscribe;
    }

    public void setIfTranscribe(Boolean ifTranscribe) {
        this.ifTranscribe = ifTranscribe;
    }

    public Boolean getIfPlayback() {
        return ifPlayback;
    }

    public void setIfPlayback(Boolean ifPlayback) {
        this.ifPlayback = ifPlayback;
    }

    public Boolean getIfLive() {
        return ifLive;
    }

    public void setIfLive(Boolean ifLive) {
        this.ifLive = ifLive;
    }

    public Boolean getIfSyncEeo() {
        return ifSyncEeo;
    }

    public void setIfSyncEeo(Boolean ifSyncEeo) {
        this.ifSyncEeo = ifSyncEeo;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Boolean getIfClassFee() {
        return ifClassFee;
    }

    public void setIfClassFee(Boolean ifClassFee) {
        this.ifClassFee = ifClassFee;
    }

    public Integer getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(Integer seatNum) {
        this.seatNum = seatNum;
    }

    public String[] getStudentIds() {
        return studentIds;
    }

    public void setStudentIds(String[] studentIds) {
        this.studentIds = studentIds;
    }

    public String[] getObserverIds() {
        return observerIds;
    }

    public void setObserverIds(String[] observerIds) {
        this.observerIds = observerIds;
    }

    public Boolean getIfPreLesson() {
        return ifPreLesson;
    }

    public void setIfPreLesson(Boolean ifPreLesson) {
        this.ifPreLesson = ifPreLesson;
    }

    public String getClassRoom() {
        return classRoom;
    }

    public void setClassRoom(String classRoom) {
        this.classRoom = classRoom;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOperaUserId() {
        return operaUserId;
    }

    public void setOperaUserId(String operaUserId) {
        this.operaUserId = operaUserId;
    }

    public Boolean getIfOnlineLesson() {
        return ifOnlineLesson;
    }

    public void setIfOnlineLesson(Boolean ifOnlineLesson) {
        this.ifOnlineLesson = ifOnlineLesson;
    }

    public Boolean getIfArrangeLessonForce() {
        return ifArrangeLessonForce;
    }

    public void setIfArrangeLessonForce(Boolean ifArrangeLessonForce) {
        this.ifArrangeLessonForce = ifArrangeLessonForce;
    }
}
